package pl.edu.agh.gronoMining.frequentSubgraphFinder.frequentSearcher.subgraph.impl;

import java.util.Set;

import pl.edu.agh.gronoMining.frequentSubgraphFinder.frequentSearcher.subgraph.SubgraphMove;

/**
 * represents one action which is made during one move. Contains this move, id of new node and list of active
 * StartNodeInstance
 */
public class SubgraphAction {

	private SubgraphMove move;
	private int newNodeId;
	private Set<StartNodeInstance> activeInstances;
	
	public SubgraphAction(SubgraphMove move) {
		this.move = move;
	}
	
	public SubgraphMove getMove() {
		return move;
	}
	
	public void setNewNodeId(int newNodeId) {
		this.newNodeId = newNodeId;
	}
	
	public int getNewNodeId() {
		return this.newNodeId;
	}
	
	public void setActiveInstances(Set<StartNodeInstance> newActiveInstances) {
		this.activeInstances = newActiveInstances;
	}
	
	public Set<StartNodeInstance> getActiveInstances() {
		return this.activeInstances;
	}
}
